package org.wlgzs.shop.bean;

import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class CarData {

    /**
     *
     *订单id
     */
    private Integer orderId;

    /**
     *
     *支付金额
     */
    @NotNull
    private String payment;

    /**
     *
     *邮费
     */

    private Float postFee;

    /**
     *
     *购买数量
     */
    @NotNull
    private Integer num;

    /**
     *
     *店铺名称
     */
    @NotNull
    private String storeName;

    /**
     *
     *店铺链接
     */

    private String storeUrl;

    /**
     *
     *状态
     */

    private Integer state;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment == null ? null : payment.trim();
    }

    public Float getPostFee() {
        return postFee;
    }

    public void setPostFee(Float postFee) {
        this.postFee = postFee;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName == null ? null : storeName.trim();
    }

    public String getStoreUrl() {
        return storeUrl;
    }

    public void setStoreUrl(String storeUrl) {
        this.storeUrl = storeUrl == null ? null : storeUrl.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}